package models

import (
	"time"
)

type Product struct {
	Id         int       `orm:"column(Id)"`
	Type       string    `orm:"column(Type)"`
	Name       string    `orm:"column(Name)"`
	CreateTime time.Time `orm:"column(CreateTime)"`
	IsActive   string    `orm:"column(IsActive)"` //yes,no
}

func (p *Product) TableName() string {
	return "Product"
}
